package com.situ.store.dao;

import com.situ.store.entity.LoginLog;
import com.situ.store.util.DBCP;

/**
 * ClassName: LoginLogDao
 * Package: com.situ.store.dao
 * Description:
 *
 * @Author Darling_达
 * @Create 2023-03-02 20:07
 * @Version 1.0
 */

public class LoginLogDao {

    // 登录日志
    public void loginLog(LoginLog loginLog){
        String sql = "INSERT INTO t_loginlog(login_name, login_time) VALUES(?, ?)";
        DBCP.excuteDML(sql, loginLog.getLoginName(), loginLog.getLoginTime());
    }

}
